ImageGear .NET v24.12 - Updated
CopyTo Method (NativeObjectArray<T,TParentType>)




ImageGear24.Formats.Pdf Assembly > ImageGear.Formats.PDF.Forms.Internal Namespace > NativeObjectArray<T,TParentType> Class : CopyTo Method
The one-dimensional System.Array that is the destination of the options copied from option collection. The System.Array must have zero-based indexing.
The zero-based index in array at which copying begins.
Copies the options of the options collection to an System.Array, starting at a particular System.Array index.
Syntax
'Declaration
 
Public Overridable Sub CopyTo( _
   ByVal array() As T, _
   ByVal arrayIndex As Integer _
) 
'Usage
 
Dim instance As NativeObjectArray(Of T,TParentType)
Dim array() As T
Dim arrayIndex As Integer
 
instance.CopyTo(array, arrayIndex)
public virtual void CopyTo( 
   T[] array,
   int arrayIndex
)
public: virtual void CopyTo( 
   T*[]* array,
   int arrayIndex
) 
public:
virtual void CopyTo( 
   array<T^>^ array,
   int arrayIndex
) 

Parameters

array
The one-dimensional System.Array that is the destination of the options copied from option collection. The System.Array must have zero-based indexing.
arrayIndex
The zero-based index in array at which copying begins.
Exceptions
ExceptionDescription
array is null.
arrayIndex is less than 0.
The number of options in the source option collection is greater than the available space from arrayIndex to the end of the destination array.
See Also

Reference

NativeObjectArray<T,TParentType> Class
NativeObjectArray<T,TParentType> Members